Date Errors on Your System

These diagnostics check for date errors on your system using setTime(). You can set dates correctly regardless of system by subtracting the millisecond of the epoch (January 1, 1970) from the current milliseconds before setting time. i.e.var epoch = new Date(0) to get the epoch and dx.setTime(msec - epoch.getTime()) to set the time correctly.


Copyright ©1998 by Charles River Media, All Rights Reserved